import Layout from '@/layout';
export default [
  {
    path: '/testComponent',
    name: 'TestComponent',
    alwaysShow: true,
    noCache: true,
    component: Layout,
    meta: {
      title: '组件测试',
      icon: 'component'
    },
    children: [
      {
        path: 'test3',
        name: 'test3',
        noCache: true,
        // query: '{"id": 1, "name": "ry"}',
        roles: ['common'],
        component: () => import('@/views/test/component/test3.vue'),
        meta: {
          title: '测试1',
          icon: 'component'
        }
      },
      {
        path: 'test1',
        name: 'test1',
        noCache: true,
        // query: '{"id": 1, "name": "ry"}',
        roles: ['admin'],
        component: () => import('@/views/test/component/test1.vue'),
        meta: {
          title: '测试2',
          icon: 'component'
        }
      }
    ]
  }
];
